#!/bin/bash

#do something
DATE_TIME=$(date "+%Y%m%d-%H%M%S")
cp /data/gclogs/${PROJECT_NAME}-GC.log /data/gclogs/${PROJECT_NAME}-GC-${DATE_TIME}.log.backup
cp /data/gclogs/${PROJECT_NAME}-ERR.log /data/gclogs/${PROJECT_NAME}-ERR-${DATE_TIME}.log.backup
exec java $JVM_DEBUG $JAVA_OPTS $JVM_SERVER_OPTS $JVM_GC_LOG $JAVA_SECURITY_EGD -jar app.jar
